﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHome.ascx.cs" Inherits="Website.uc.ucHome" %>
<style type="text/css">
    .style1
    {
        width: 150%;
    }
</style>

<asp:DataList ID="DataList1" RepeatDirection="Horizontal" runat="server" 
    onitemcommand="DataList1_ItemCommand">
    <ItemTemplate>
        <table class="style1">
            <tr>
                <td>
                    <asp:ImageButton ID="ImageButton1" runat="server" CommandName ="ImageButton1"
                        ImageUrl='<%# Eval("ItemImage") %>' Width="200px" />
                </td>
            </tr>
            <tr>
                <td>
                    ItemTitle :
                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("ItemTitle") %>'></asp:Label>
                    <asp:Label ID="lblid" runat="server" Text='<%# Eval("ItemId") %>' 
                        Visible="False"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    BidEndDate :
                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("BidEndDate") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    BidIncremenent :
                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("BidIncremenent") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Category :
                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("CateName") %>'></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>